package com.service.impl;

import com.dao.BaseDao;
import com.dao.impl.BaseDaoImpl;
import com.entity.House;
import com.entity.User;
import com.service.BaseService;

import java.util.List;

/**
 * Created by Administrator on 2015/7/22.
 */
public class BaseServiceImpl implements BaseService {
   static private BaseDao baseDao=new BaseDaoImpl();

    @Override
    public User login(String userName, String passWord) {
        return baseDao.login(userName, passWord);
    }

    @Override
    public List<House> getAllHouse() {
        return baseDao.getAllHouse();
    }
}
